Skip to content

add class balancing to sampling#21

Merged
AndreFCruz merged 6 commits intosocialfoundations:mainfrom
milagorecki:balanced-few-shot
Feb 13, 2025
Merged

add class balancing to sampling#21
AndreFCruz merged 6 commits intosocialfoundations:mainfrom
milagorecki:balanced-few-shot

Conversation

@milagorecki
Copy link
Contributor

Hi,

I added optional class balancing to sample_n_train_examples to obtain equally many samples from all classes.

@AndreFCruz AndreFCruz merged commit d35f2f0 into socialfoundations:main Feb 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants